package cn.znzz.cjm.pet.domain;

import cn.znzz.cjm.basic.domain.BaseDomain;
import cn.znzz.cjm.org.domain.Shop;
import cn.znzz.cjm.user.domain.User;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Pet extends BaseDomain {
    private String name;
    private String resources;
    private BigDecimal saleprice;
    private Date offsaletime=new Date();
    private Date onsaletime=new Date();
    private Integer state=0;
    private BigDecimal costprice;
    private Date createtime=new Date();
    private Long type_id;
    private PetType type;
    private Long shop_id;
    private Shop shop;
    private Long user_id;
    private User user;
    private Long search_master_msg_id;
    //接收支付方式
    private Integer payType;

    private PetDetail detail = new PetDetail();

}
